package cn.com.generaldata.jsme_indicator_system.entity;

import java.sql.Timestamp;

import lombok.Data;

import org.nutz.dao.entity.annotation.ColDefine;
import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;
import org.nutz.dao.entity.annotation.Table;

/**
 * 省海洋经济统计指标数据来源.
 */
@Data
@Table("t_indicator_province_ds")
public class IndicatorProvinceDatasource implements java.io.Serializable {

	private static final long serialVersionUID = 8965733641629655475L;

	// columns START
	/**
	 * PK db_column: id
	 */
	@Id
	@Column("id")
	private Integer id;
	/**
	 * t_indicator_province主键 db_column: indicator_province_id
	 */
	@Column("indicator_province_id")
	private Integer indicatorProvinceId;
	/**
	 * indicatorProvinceCode db_column: indicator_province_code
	 */
	@Column("indicator_province_code")
	private String indicatorProvinceCode;
	/**
	 * 数据来源 db_column: datasource
	 */
	@Column("datasource")
	private Integer datasource;
	/**
	 * 创建时间 db_column: create_time
	 */
	@Column("create_time")
	@ColDefine(update = false)
	private java.sql.Timestamp createTime = new Timestamp(System.currentTimeMillis());
	/**
	 * 最后修改时间 db_column: last_update
	 */
	@Column("last_update")
	@ColDefine(insert = false, update = false)
	private java.sql.Timestamp lastUpdate;

	// columns END

	public IndicatorProvinceDatasource() {
		super();
	}

	public IndicatorProvinceDatasource(Integer datasource) {
		this.datasource = datasource;
	}

}
